<!DOCTYPE html>
<html>

<head>

    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, minimum-scale=1.0, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>Hundreds - Main</title>

</head>

<body>

    <h1>Hello Peers!</h1>
    <p>Welcome to main! <span id="theMessage"></span></p>
    <p><a href="index.html">go to index</a></p>

    <script>

        function wireUpJavaToJavascript() {
            var foo = "bar";
            injectedObject.printToToast(foo);

            var glux = injectedObject.printToHtml(foo);
            var theElement = document.getElementById("theMessage");
            theElement.textContent = glux;

            //alert(glux);
        };

        window.onload = function () {
            wireUpJavaToJavascript();
        }

    </script>

</body>

</html>

